package com.gongyibao.gbase.common;

/**
 * @Auther: hm
 * @Date: 2018/4/23 09:21
 * @Description:
 */
public class CurrentLoginUser {
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 当前登录用户id
     */
    private String userId;

    public boolean isLoginState() {
        return loginState;
    }

    public void setLoginState(boolean loginState) {
        this.loginState = loginState;
    }

    /**
     * 登录状态
     */
    private boolean loginState;

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    /**
     * 用户类型
     */
    private int userType;

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    /**
     * 租户id
     */
    private String tenantId;


    public String getMpWxOpenId() {
        return mpWxOpenId;
    }

    public void setMpWxOpenId(String mpWxOpenId) {
        this.mpWxOpenId = mpWxOpenId;
    }

    /**
     * 微信公众平台openid
     */
    private String mpWxOpenId;

    public String getCurrentToken() {
        return currentToken;
    }

    public void setCurrentToken(String currentToken) {
        this.currentToken = currentToken;
    }

    /**
     * 登录认证凭证
     */
    private String currentToken;

    public String getUserDepartment() {
        return userDepartment;
    }

    public void setUserDepartment(String userDepartment) {
        this.userDepartment = userDepartment;
    }

    /**
     * 用户所属部门
     */
    private String userDepartment;


    public String getCurrentProductId() {
        return currentProductId;
    }

    public void setCurrentProductId(String currentProductId) {
        this.currentProductId = currentProductId;
    }

    /**
     * 当前产品id
     */
    private String currentProductId;

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getUserTrueName() {
        return userTrueName;
    }

    public void setUserTrueName(String userTrueName) {
        this.userTrueName = userTrueName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 租户名称
     */
    private String tenantName;

    /**
     * 用户真实姓名
     */
    private String userTrueName;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 登录名
     */
    private String loginName;

    public int getProductPlat() {
        return productPlat;
    }

    public void setProductPlat(int productPlat) {
        this.productPlat = productPlat;
    }

    /**
     * 产品平台
     */
    private int productPlat;

    /**
     * <pre>
     * 用户头像
     * 表字段 : upms_user.user_logo
     * </pre>
     */
    private String userLogo;

    public String getUserLogo() {
        return userLogo;
    }

    public void setUserLogo(String userLogo) {
        this.userLogo = userLogo;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
}
